package com.sky.service.admin;

import com.sky.dto.*;
import com.sky.entity.Employee;
import com.sky.result.PageResult;
import com.sky.result.Result;

public interface EmployeeService {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    Result editPassword(PasswordEditDTO passwordEdit);

    Employee getEmployeeById(Integer id);

    Result<PageResult> getEmployeeByPage(EmployeePageQueryDTO dto);

    Result addEmployee(EmployeeDTO dto);

    Result updateEmployeeById(Employee employee);

    Result setEmployeeStatusById(Integer status, Integer id);


}
